package com.lbt.weixin.common.service.impl;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.lbt.framework.dao.BasicService;
import com.lbt.framework.dao.Dao;
import com.lbt.framework.general.Page;
import com.lbt.framework.general.Searching;
import com.lbt.weixin.common.bean.entity.Car;
import com.lbt.weixin.common.bean.search.Car4Search;
import com.lbt.weixin.common.dao.CarDao;
import com.lbt.weixin.common.service.CarService;

/**
 * Service实现－车牌信息
 * 
 * @author Moyq5
 * @date 2016年9月24日
 */
@Service("carService")
public class CarServiceImpl extends BasicService<Car> implements CarService {
	
	private static Logger log = LoggerFactory.getLogger(CarServiceImpl.class);

	@Resource
	CarDao carDao;

	@Override
	protected Dao<Car> getDao() {
		return carDao;
	}

	@Override
	public Page<Car> list(Car4Search car4s, Searching si) {
		log.debug("list：Car4Search");
		return carDao.list(car4s, si);
	}
}
